home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
DOS
/
UTILITY
/
OSASS11
/
OSHELP.EXE
/
OSHINTS.HLP
< prev
next >
Wrap
Text File
|
1992-09-26
|
7KB
|
157 lines
HELPFUL HINTS
CAPSLOCK
────────
There are some programs which you may run that are operated more
easily with the CapsLock mode turned on. This might be a program
that requires entry only in uppercase mode. You can easily use the
CAPSLOCK utility to turn the CapsLock mode on before starting the
program and turn it off after ending the program. This would be
most easily accomplished through a batch file. For example, say
you had a program called ASCIICAPS.EXE. You could create the
following batch file:
REM *** ASCIICAPS.BAT Batch File ***
CAPSLOCK ON
ASCIICAPS.EXE
CAPSLOCK OFF
REM *** END OF ASCIICAPS.BAT ***
CURSOR
──────
Display monitors vary greatly in their clarity. The default cursor
is not always clearly visible on all displays. This utility is
useful for enlarging the cursor size to a more visible size.
In addition, some software programs are not "well-behaved" and upon
exiting the program, you find that your cursor has completely
disappeared! This utility can easily recover your cursor.
NUMLOCK
───────
There are some programs which you may run that are operated more
easily with the NumLock mode turned on. This might be a program
that requires the entry of many numerical values, for example a
spreadsheet program. You can easily use the NUMLOCK utility to
turn the NumLock mode on before starting the program and turn it
off after ending the program. This would be most easily
accomplished through a batch file. For example, say you had a
spreadsheet program called SPREAD.EXE. You could create the
following batch file:
REM *** GOSPREAD.BAT Batch File ***
NUMLOCK ON
SPREAD.EXE
NUMLOCK OFF
REM *** END OF GOSPREAD.BAT ***
REBOOT
──────
The REBOOT utility provides a convenient method for rebooting your
machine automatically from within a batch file. Many people set up
various configurations for their computer. They have a number of
AUTOEXEC.BAT and CONFIG.SYS files which meet various needs. By
employing the REBOOT command, you may easily set up a batch file
which changes your system files and then restarts your machine.
For example, you might create a batch file named BOOT.BAT which
will switch you back and forth between two different
configurations. You specify which configuration you desire as a
command line argument to the BOOT command.
REM *** BOOT.BAT Batch File ***
IF "%1"=="1" GOTO CONFIG1
IF "%1"=="2" GOTO CONFIG2
GOTO EXIT
:CONFIG1
COPY C:\AUTOEXEC.001 C:\AUTOEXEC.BAT
COPY C:\CONFIG.001 C:\CONFIG.SYS
GOTO RESTART
:CONFIG2
COPY C:\AUTOEXEC.002 C:\AUTOEXEC.BAT
COPY C:\CONFIG.002 C:\AUTOEXEC.BAT
GOTO RESTART
:RESTART
REBOOT /W
:EXIT
REM *** END OF BOOT.BAT ***
SCRLLOCK
────────
There are some programs which you may run that are operated more
easily with the Scroll Lock mode turned on. You can easily use the
SCRLLOCK utility to turn the Scroll Lock mode on before starting
the program and turn it off after ending the program. This would
be most easily accomplished through a batch file. For example, say
you had a program called KEYPAD.EXE. You could create the
following batch file:
REM *** KEYPAD.BAT Batch File ***
SCRLLOCK ON
KEYPAD.EXE
SCRLLOCK OFF
REM *** END OF KEYPAD.BAT ***
SELECT
──────
The SELECT utility is very useful for marking files upon which to
perform many common DOS commands. For example, let's say you wish
to delete the files FOO.TXT, 123.DOC, and LETTER.TXT. Using the
normal DOS command DEL alone, you would be forced to perform three
separate delete operations. With the addition of the SELECT
utility, however, this becomes a very simple task. Simply type the
following:
SELECT DEL (*.*)
You would then mark the three files you wish deleted and press the
Enter key. You're done! This is such a common task that it would
be useful to create a batch program to simplify this even further,
for example:
REM *** ZAP.BAT Batch File ***
IF "%1"=="" GOTO SELECTALL
SELECT DEL (%1)
GOTO EXIT
:SELECTALL
SELECT DEL (*.*)
:EXIT
REM *** END OF ZAP.BAT ***
This very handy little tool will automatically call the SELECT
utility set up for deleting files. If you pass it a file
specification, it will use it for creating a list of files from
which to select. Otherwise, it will present you with a list of all
the files in the current directory.
Another use of the SELECT utility is with other RITE Toolkit
utilities. For example, if you wished to view a number of files
with the VIEW program, rather than viewing each one individually,
you could use the SELECT utility to simplify this task, for
example: SELECT VIEW (*.TXT)
You could then mark the files for viewing, press Enter, and would
then be presented with each file in turn for viewing. You could
enhance this operation by creating a batch file to perform this
same operation:
REM *** VIEWLIST.BAT Batch File ***
IF "%1"=="" GOTO VIEWALL
SELECT VIEW (%1)
GOTO EXIT
:VIEWALL
SELECT VIEW (*.*)
:EXIT
REM *** END OF VIEWLIST.BAT ***